import type { VNode } from "vue";
import type { RouteMeta, RouteRecordRaw, RouteComponent } from "vue-router";

export interface AppRouteType {
  name: string;
  path: string;
  redirect?: string;
  meta: {
    title: string;
    icon?: string;
    ignoreKeepAlive?: boolean;
    order?: number;
    hideMenu?: boolean;
    needAuth?: boolean;
  };
  component?: RouteComponent;
  children?: AppRouteType[];
}
